QT += core widgets svg xml opengl

TARGET = libQtNodes
TEMPLATE = lib

CONFIG += c++17
DEFINES += NODE_EDITOR_SHARED NODE_EDITOR_EXPORTS
DEFINES += QT_DEPRECATED_WARNINGS

win32 {
    INCLUDEPATH += "G:/Qt_5.15.16/msvc2022_64/include" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtCore" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtNetwork" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtSql" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtWidgets" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtANGLE" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtGui" \
                   "G:/Qt_5.15.16/msvc2022_64/include/QtOpenGL" \
                   "G:/libQtNodes/include" \
                   "G:/libQtNodes/include/QtNodes" \
                   "G:/libQtNodes/include/QtNodes/internal"
    DEPENDPATH += "G:/Qt_5.15.16/msvc2022_64/include" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtCore" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtNetwork" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtSql" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtWidgets" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtANGLE" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtGui" \
                  "G:/Qt_5.15.16/msvc2022_64/include/QtOpenGL" \
                  "G:/libQtNodes/include" \
                  "G:/libQtNodes/include/QtNodes" \
                  "G:/libQtNodes/include/QtNodes/internal"
}

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    src/AbstractGraphModel.cpp \
    src/AbstractNodeGeometry.cpp \
    src/BasicGraphicsScene.cpp \
    src/ConnectionGraphicsObject.cpp \
    src/ConnectionState.cpp \
    src/ConnectionStyle.cpp \
    src/DataFlowGraphModel.cpp \
    src/DataFlowGraphicsScene.cpp \
    src/DefaultConnectionPainter.cpp \
    src/DefaultHorizontalNodeGeometry.cpp \
    src/DefaultNodePainter.cpp \
    src/DefaultVerticalNodeGeometry.cpp \
    src/Definitions.cpp \
    src/GraphicsView.cpp \
    src/GraphicsViewStyle.cpp \
    src/NodeConnectionInteraction.cpp \
    src/NodeDelegateModel.cpp \
    src/NodeDelegateModelRegistry.cpp \
    src/NodeGraphicsObject.cpp \
    src/NodeState.cpp \
    src/NodeStyle.cpp \
    src/StyleCollection.cpp \
    src/UndoCommands.cpp \
    src/locateNode.cpp

HEADERS += \
    include/QtNodes/AbstractConnectionPainter \
    include/QtNodes/AbstractGraphModel \
    include/QtNodes/AbstractNodePainter \
    include/QtNodes/BasicGraphicsScene \
    include/QtNodes/ConnectionIdUtils \
    include/QtNodes/ConnectionStyle \
    include/QtNodes/DataFlowGraphModel \
    include/QtNodes/DataFlowGraphicsScene \
    include/QtNodes/DefaultNodePainter \
    include/QtNodes/Definitions \
    include/QtNodes/GraphicsView \
    include/QtNodes/GraphicsViewStyle \
    include/QtNodes/NodeData \
    include/QtNodes/NodeDelegateModel \
    include/QtNodes/NodeDelegateModelRegistry \
    include/QtNodes/NodeGeometry \
    include/QtNodes/NodeState \
    include/QtNodes/NodeStyle \
    include/QtNodes/StyleCollection \
    include/QtNodes/internal/AbstractConnectionPainter.hpp \
    include/QtNodes/internal/AbstractGraphModel.hpp \
    include/QtNodes/internal/AbstractNodeGeometry.hpp \
    include/QtNodes/internal/AbstractNodePainter.hpp \
    include/QtNodes/internal/BasicGraphicsScene.hpp \
    include/QtNodes/internal/Compiler.hpp \
    include/QtNodes/internal/ConnectionGraphicsObject.hpp \
    include/QtNodes/internal/ConnectionIdHash.hpp \
    include/QtNodes/internal/ConnectionIdUtils.hpp \
    include/QtNodes/internal/ConnectionState.hpp \
    include/QtNodes/internal/ConnectionStyle.hpp \
    include/QtNodes/internal/DataFlowGraphModel.hpp \
    include/QtNodes/internal/DataFlowGraphicsScene.hpp \
    include/QtNodes/internal/DefaultConnectionPainter.hpp \
    include/QtNodes/internal/DefaultHorizontalNodeGeometry.hpp \
    include/QtNodes/internal/DefaultNodePainter.hpp \
    include/QtNodes/internal/DefaultVerticalNodeGeometry.hpp \
    include/QtNodes/internal/Definitions.hpp \
    include/QtNodes/internal/Export.hpp \
    include/QtNodes/internal/GraphicsView.hpp \
    include/QtNodes/internal/GraphicsViewStyle.hpp \
    include/QtNodes/internal/NodeConnectionInteraction.hpp \
    include/QtNodes/internal/NodeData.hpp \
    include/QtNodes/internal/NodeDelegateModel.hpp \
    include/QtNodes/internal/NodeDelegateModelRegistry.hpp \
    include/QtNodes/internal/NodeGraphicsObject.hpp \
    include/QtNodes/internal/NodeState.hpp \
    include/QtNodes/internal/NodeStyle.hpp \
    include/QtNodes/internal/OperatingSystem.hpp \
    include/QtNodes/internal/QStringStdHash.hpp \
    include/QtNodes/internal/QUuidStdHash.hpp \
    include/QtNodes/internal/Serializable.hpp \
    include/QtNodes/internal/Style.hpp \
    include/QtNodes/internal/StyleCollection.hpp \
    include/QtNodes/internal/UndoCommands.hpp \
    include/QtNodes/internal/locateNode.hpp

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    resources/DefaultStyle.json

RESOURCES += \
    resources/resources.qrc
